package com.alks.function.data.dto.administration;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

import java.time.LocalDate;

@Getter
@Setter
@NoArgsConstructor
@ToString
public class PcEmployeeDto {

    @ApiModelProperty("部门名称")
    private String deptName;

    @ApiModelProperty("姓名")
    private String name;

    @ApiModelProperty("性别")
    private String sex;

    @ApiModelProperty("身份证号码")
    private String idNo;

    @ApiModelProperty("职务")
    private String position;

    @ApiModelProperty("工种")
    private String workType;

    @ApiModelProperty("计算类型")
    private String calcType;

    @ApiModelProperty("手机号")
    private String mobileNo;

    @ApiModelProperty("地址")
    private String address;

    @ApiModelProperty("入厂时间")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "Asia/Shanghai")
    private LocalDate dateIn;

    @ApiModelProperty("合同签订")
    private String contract;

    @ApiModelProperty("离职日期")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "Asia/Shanghai")
    private LocalDate delDate;

    @ApiModelProperty("离职原因")
    private String delReason;

    @ApiModelProperty("工号")
    private String workerId;

    @ApiModelProperty("出生日期")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "Asia/Shanghai")
    private LocalDate brisday;

    @ApiModelProperty("开户行")
    private String bankCardName;

    @ApiModelProperty("银行卡号")
    private String bankCardId;

    @ApiModelProperty("开户名")
    private String bankCardUser;

    @ApiModelProperty("状态 1入职 2离职")
    private String status;

    @ApiModelProperty(value = "学历",name = "education")
    private String education;

    @ApiModelProperty(value = "婚否 N未婚,Y已婚",name = "married")
    private String married;

    @ApiModelProperty(value = "未成年 N未成年,Y成年",name = "childFlag")
    private String childFlag;

    @ApiModelProperty(value = "民族",name = "nation")
    private String nation;

    @ApiModelProperty(value = "紧急联系人",name = "contactPerson")
    private String contactPerson;

    @ApiModelProperty(value = "紧急联络电话",name = "contactPhone")
    private String contactPhone;

    @ApiModelProperty(value = "现地址",name = "addressNow")
    private String addressNow;

    @ApiModelProperty(value = "工龄",name = "seniority")
    private Integer seniority;
}
